<div id="employee_manage_container" class="ml">
    <div class="page-header">
        <h1 class="page-title">员工管理</h1>
        <div class="btns">
            <button type="button" id="add_btn" data-toggle="modal" class="btn btn-text editOrAdd" form_type="info" data-type="page" data-url="/employee_add">
                <i class="fa fa-plus" data-icon="icon-jiahao"></i>新建员工
            </button>
            <button type="button" id="del_btn" class="btn btn-text" onClick="employeeManageView.fn.delete(this);" data-type="selected-delete">
                <i class="fa fa-plus" data-icon="icon-jiahao"></i>批量删除
            </button>
        </div>
    </div>
    <div class="container-fluid page-content s-height">
        <div class="widget ml">
            <div class="row height-p-100">
                <div class="col-md-3  height-p-100">
                    <div>
                        <p>选择部门</p>
                    </div>
                    <div id="wd-tree-container" class="s-height">

                    </div>
                </div>
                <div class="col-md-9 height-p-100">
                    <div class="row">
                        <form action="" id="bank_branch_form">
                            <input type="hidden" name="departmentId">
                            <div class="col-md-6 form-group">
                                <div class="row">
                                    <label class="col-md-3 form-group-label">
                                        <div>姓名：</div>
                                    </label>
                                    <div class="col-md-9">
                                        <input type="text" class="form-control" id="name" name="name" placeholder="请输入姓名">
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-6 form-group text-right">
                                <div class="row">
                                    <div class="col-md-12">
                                        <button type="reset" class="btn btn-default" id="reset-btn">重置</button>
                                        <button type="button" class="btn btn-primary" id="search_btn">查询</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="s-height bank-content">
                        <div class="ml wd-table-container padding-bottom-0">
                            <table class="table table-striped table-bordered table-hover table-condensed" id="employee_manage_list" cellspacing="0" width="100%">
                                <thead>
                                    <tr>
                                        <th data-type="checkbox" data-field="userId"></th>
                                        <!--<th data-field="userId">id</th>-->
                                        <th data-field="name">姓名</th>
                                        <th data-field="userName">用户名</th>
                                        <!-- <th data-field="password">密码</th> -->
                                        <!-- <th data-field="mobile">手机号</th> -->
                                        <!-- <th data-field="departmentId">部门id</th> -->
                                        <th data-field="email">邮箱</th>
                                        <th data-field="statusStr">状态</th>
                                        <th data-field="createTime" data-render="date">创建时间</th>
                                        <th data-type="operation" data-render="employeeManageView.render.operation">操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="reset_password_container">
    <form class="form-horizontal" id="reset_password_form" autocomplete="off">
        <input type="hidden" name="userId">
        <div class="form-group">
            <label class="col-sm-3 control-label">输入密码：</label>
            <div class="col-sm-9">
                <input class="form-control" name="password" data-v="notempty,len:6-20" data-m="密码不能为空,密码长度6-20位" type="password" value="">
            </div>
        </div>
    </form>
</div>
<script>
    var departmentTree = { "attributes": null, "checked": true, "children": [{ "attributes": null, "checked": false, "children": [], "hasChildren": false, "hasParent": false, "id": "520007", "parentId": "0", "state": { "opened": true }, "text": "产品" }, { "attributes": null, "checked": false, "children": [], "hasChildren": false, "hasParent": false, "id": "280000", "parentId": "0", "state": { "opened": true }, "text": "技术部" }], "hasChildren": true, "hasParent": false, "id": "-1", "parentId": "", "state": { "opened": true }, "text": "顶级节点" };
</script>
<script src="../static/modules/employee_manage/employee_manage.js"></script>